import request from '@/utils/request'

export const systemApi = {
  // 获取系统设置
  getSettings() {
    return request({
      url: '/api/system/settings/',
      method: 'get'
    })
  },

  // 更新系统设置
  updateSettings(data) {
    return request({
      url: '/api/system/settings/update/',
      method: 'post',
      data
    })
  }
} 